//
//  MainGameViewController.h
//  Bluetooth Mini Games
//
//  Created by iD Student on 7/15/13.
//  Copyright (c) 2013 ZTBWorks. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <GameKit/GameKit.h>
#import "AppDelegate.h"
#import "ChangeToWhiteView.h"

@interface MainGameViewController : UIViewController <GKSessionDelegate, GKPeerPickerControllerDelegate>
{
    IBOutlet UIButton *player1Click;
    IBOutlet UIButton *player2Click;
    
    IBOutlet UIView *miniGameView;
    
    IBOutlet UILabel *player1ScoreLabel;
    IBOutlet UILabel *player2ScoreLabel;
    
    int player1score, player2score;
    
    BOOL player1IsReady, player2IsReady;
    
    int gameMode;
    
    NSArray *gamesArray;
    
    int numberOfGamesPerMode;
    int gameNumber;
    
}

@property (strong, nonatomic) NSString *gameModeString;

- (id) initWithSession:(GKSession *)session;

- (void) updateScoreOfPlayer:(NSInteger)player correct:(BOOL)answer;

- (id) initWithGamesPerMode:(NSInteger)games;


@end
